/**
 * 
 */
package json_objects_received;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;



/**
 * @author Alejandro Casas
 *
 */
@XmlRootElement
public class RegisterPlayer {
	
	@XmlElement private String name;
	@XmlElement private String birthday;
	@XmlElement private String mail; 
	@XmlElement private String gender;
	@XmlElement private String pass;
	@XmlElement private String country;
	@XmlElement private String city;
	@XmlElement private List<JaxSport> sports;
	/**
	 * 
	 */
	/**
	 * @param name
	 * @param birthday
	 * @param mail
	 * @param gender
	 * @param pass
	 * @param country
	 * @param city
	 * @param sports
	 */
	public RegisterPlayer(String name, String birthday, String mail,
			String gender, String pass, String country, String city,
			List<JaxSport> sports) {
		this.name = name;
		this.birthday = birthday;
		this.mail = mail;
		this.gender = gender;
		this.pass = pass;
		this.country = country;
		this.city = city;
		this.sports = sports;
	}
	
	/**
	 * 
	 */
	public RegisterPlayer() {
		super();
		// TODO Auto-generated constructor stub
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the birthday
	 */
	public String getBirthday() {
		return birthday;
	}
	/**
	 * @param birthday the birthday to set
	 */
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	/**
	 * @return the mail
	 */
	public String getMail() {
		return mail;
	}
	/**
	 * @param mail the mail to set
	 */
	public void setMail(String mail) {
		this.mail = mail;
	}
	/**
	 * @return the gender
	 */
	public String getGender() {
		return gender;
	}
	/**
	 * @param gender the gender to set
	 */
	public void setGender(String gender) {
		this.gender = gender;
	}
	/**
	 * @return the pass
	 */
	public String getPass() {
		return pass;
	}
	/**
	 * @param pass the pass to set
	 */
	public void setPass(String pass) {
		this.pass = pass;
	}
	/**
	 * @return the country
	 */
	public String getCountry() {
		return country;
	}
	/**
	 * @param country the country to set
	 */
	public void setCountry(String country) {
		this.country = country;
	}
	/**
	 * @return the city
	 */
	public String getCity() {
		return city;
	}
	/**
	 * @param city the city to set
	 */
	public void setCity(String city) {
		this.city = city;
	}
	/**
	 * @return the sports
	 */
	public List<JaxSport> getSports() {
		return sports;
	}
	/**
	 * @param sports the sports to set
	 */
	public void setSports(List<JaxSport> sports) {
		this.sports = sports;
	}
	
	
}
